package com.media.system;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 家庭媒体管理系统启动类
 * 
 * @author Claude
 * @since 2024-01-20
 */
@SpringBootApplication
@EnableCaching
@EnableAsync
@EnableScheduling
@EnableTransactionManagement
public class MediaSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(MediaSystemApplication.class, args);
        System.out.println("""
            
            ================================
            家庭媒体管理系统启动成功！
            ================================
            接口文档地址: http://localhost:8080/doc.html
            健康检查地址: http://localhost:8080/actuator/health
            ================================
            
        """);
    }
}